<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/26
  Time: 9:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html>
<head>
    <title>职业病台账详情</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript">
        var danweiName="";
        <c:if test="${fn:length(ac.userDepartmentList) >0}">
        <c:forEach var="lis" items="${ac.userDepartmentList}">
        danweiName += ',' + '${lis.deptName}';
        danweiName=danweiName.substring(1);
        </c:forEach>
        </c:if>
        var isDiagnosisDIv="${ac.isDiagnosis}"
    </script>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/account/info.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <%--<a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>--%>
</div>
<form id="formInfoAccount" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <div class="cuttle">
            <div style="clear: both">
                <div class="form_one" >
                    <label class="lable-style">姓名:</label>
                    <input type="text"  class="easyui-textbox"  value="${ac.userPhy==null?"":ac.userPhy}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">工号:</label>
                    <input type="text"  class="easyui-textbox" value="${ac.userCode==null?"":ac.userCode}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">出生日期:</label>
                    <input type="text"  class="easyui-textbox" value="${ac.birthday==null?"":ac.birthday}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">单位名称:</label>
                    <input id="danwei" type="text" class="easyui-textbox" data-options="readonly:true"  style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">岗位:</label>
                    <input id="gangwei" type="text" class="easyui-textbox" value="${ac.postName==null?"":ac.postName}" data-options="readonly:true"  style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">性别:</label>
                    <input id="riqi" type="text" class="easyui-textbox" <c:if test="${ac.gender!=null}">  value="${ac.gender=='1'?"男":'女'}" </c:if>  data-options="readonly:true" style="width: 240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" >
                    <label class="lable-style">职业病名称:</label><%--editable="false"--%>
                    <input type="text" id="diseasesNameIdName" class="easyui-textbox" value="${ac.diseasesName==null?"":ac.diseasesName}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">职业病类别:</label>
                    <input id="leibie" type="text" class="easyui-textbox" value="${ac.diseasesTypeName==null?"":ac.diseasesTypeName}"
                           data-options="readonly:true" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">严重程度:</label>
                    <input  type="text" data-options="readonly:true"  class="easyui-textbox" value="${ac.severity==null?"":ac.severity}" style="width: 240px;" >
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">诊断单位:</label>
                    <input class="easyui-textbox" type="text"
                           value="${ac.serviceName==null?"":ac.serviceName}"  data-options="readonly:true"   style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">开始接触危害因素时间:</label>
                    <input class="easyui-datebox" style="width: 240px;" data-options="editable:false,readonly:true"
                           value="${ac.startDate==null?"":ac.startDate}" name="startDate">
                </div>
                <div class="form_one">
                    <label class="lable-style">工龄:</label>
                    <input class="easyui-textbox" style="width: 240px;" value="${ac.workYears==null?"":ac.workYears}" data-options="readonly:true">
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否有诊断证明:</label>
                    <input type="text" id="isDiagnosis"  data-options="readonly:true" value="${ac.isDiagnosis==null?"":ac.isDiagnosis}"  style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">状态:</label>
                    <input type="text"  class="easyui-textbox" value="${ac.stateZdName==null?"":ac.stateZdName}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">转归分类:</label>
                    <input class="easyui-textbox" style="width: 240px;" value="${ac.zgTypeName==null?"":ac.zgTypeName}" data-options="readonly:true">
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否初次鉴定:</label>
                    <input type="text" id="isAppraisal" value="${ac.isAppraisal==null?"":ac.isAppraisal}"  data-options="readonly:true" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">诊断日期:</label>
                    <input class="easyui-datebox" style="width: 240px;" data-options="readonly:true,editable:false"
                           value="${ac.diagnosisDate==null?"":ac.diagnosisDate}"  name="diagnosisDate">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 720px;height: 60px">
                    <label class="lable-style">转归情况:</label>
                    <input name="zgSituation" type="text" class="easyui-textbox" data-options="multiline:true,readonly:true"
                           style="width: 600px;height: 55px" value="${ac.zgSituation==null?"":ac.zgSituation}" />
                </div>
            </div>
        </div>
    </div>
    <div class="information" id="zdFile" style="display: block">
        <div class="information-title">
            <p>诊断证明文件</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <accessory:accessorySimple permission="" packageKey="accountpage" uploadUserId="${loginUser.id}"  packageInfos="${accessoryList}"
                                   accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
    </div>
    <div class="information">
        <div class="information-title">
            <p>登记人信息</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <div class="cuttle">
            <div style="clear: both;height: 80px">
                <div class="form_one">
                    <label class="lable-style">登记人:</label>
                    <input class="easyui-textbox" type="text" value="${ac.userName}"  data-options="readonly:true" style="width: 240px">

                </div>
                <div class="form_one">
                    <label class="lable-style">登记部门:</label>
                    <input class="easyui-textbox" type="text" value="${ac.deptName}"  data-options="readonly:true" style="width: 240px">
                </div>
                <div class="form_one">
                    <label class="lable-style">登记时间:</label>
                    <input class="easyui-textbox" type="text" value="${ac.addTime}"  data-options="readonly:true" style="width: 240px">
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>



